package gui;

/**
 *
 * @author Ragnar
 */
import static com.googlecode.javacv.cpp.opencv_core.*;
import static com.googlecode.javacv.cpp.opencv_imgproc.*;
import static com.googlecode.javacv.cpp.opencv_highgui.*;

public class Smoother {
    public static void smooth() { 
        IplImage image = cvLoadImage("C:\\Users\\Ragnar\\Pictures\\karakterer.png");
        if (image != null) {
            cvSmooth(image, image, CV_GAUSSIAN, 3);
            cvSaveImage("C:\\Users\\Ragnar\\Pictures\\karakterer.png", image);
            cvReleaseImage(image);
        }
    }
    
    public static void main(String[] args)
    {
        Smoother s = new Smoother();
        s.smooth();
    }
}
